﻿<local:CommandView x:Class="cmdr.Editor.Views.CommandViews.EnumCommandView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:local="clr-namespace:cmdr.Editor.Views.CommandViews"
             mc:Ignorable="d" 
             d:DesignHeight="50" d:DesignWidth="200">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
        </Grid.RowDefinitions>
        <Label>Value:</Label>
        <ComboBox Grid.Row="1" SelectedValue="{Binding Value}" SelectedValuePath="Key" DisplayMemberPath="Value" ItemsSource="{Binding AllValues, Mode=OneWay}" />
    </Grid>
</local:CommandView>
